package com.xingzuo.library_user.presenter;

import com.xingzuo.base.ui.mvp.base.refresh.BaseRecyclerRefreshPresenter;
import com.xingzuo.base.ui.mvp.base.refresh.RequestCallback;
import com.xingzuo.library_user.bean.ConCernBean;
import com.xingzuo.library_user.contract.ConCernContract;

import java.util.ArrayList;
import java.util.List;

public class ConCernPresenter extends BaseRecyclerRefreshPresenter<ConCernContract.View, ConCernBean> implements ConCernContract.Presenter {
    @Override
    public void onRefresh(RequestCallback<ConCernBean> callback) {
        List<ConCernBean> list=new ArrayList<>();
        list.add(new ConCernBean());
        list.add(new ConCernBean());
        list.add(new ConCernBean());
        list.add(new ConCernBean());
        list.add(new ConCernBean());
        list.add(new ConCernBean());
        callback.onSuccess(list);
    }

    @Override
    public void onLoadMore(RequestCallback<ConCernBean> callback) {

    }
}
